package com.itcast.gameforum.service;

import com.itcast.gameforum.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 647zyzlq
 * @since 2020-10-21
 */

public interface UserService extends IService<User> {

    public void alterPassword(String username,String password);

    public void uploadAvatar(String username,String newavatar);

    public int saveUser(User user);
}
